package com.qixiaobao.web.controller.system;

import com.qixiaobao.web.controller.core.controller.BaseController;
import com.qixiaobao.common.core.page.TableDataInfo;
import com.qixiaobao.system.domain.InsureLog;
import com.qixiaobao.system.service.IInsureLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description 保单/增减员操作日志
 * @Author yangxm
 * @Date 2025/6/17 16:58
 */
@RestController
@RequestMapping("/insureLog")
public class InsureLogController extends BaseController {

    @Autowired
    private IInsureLogService insureLogService;

    @GetMapping("/list")
    public TableDataInfo insureLogList(InsureLog insureLog){
        startPage();
        return getDataTable(insureLogService.selectInsureLogList(insureLog));
    }
}
